package org.jxht.service.impl;

import org.jxht.dao.MajProDao;
import org.jxht.dto.MajProDto;
import org.jxht.service.MajProServie;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by huang on 2017/3/15 0015.
 */
@Service
public class MajProServiceImpl implements MajProServie {

    @Resource
    MajProDao MajProDao;

    public void insertMajProService(MajProDto dto) {
        MajProDao.insertMajProDao(dto);
    }

    public List queryMajProService(MajProDto dto) {
        return MajProDao.queryMajProDao(dto);
    }

    public void deleteMajProService(MajProDto dto) {
        MajProDao.deleteMajProDao(dto);
    }
}
